// -*- c++ -*-
#ifndef SYSTEM_H
#define SYSTEM_H

#include "common.h"

module System {
 param:
  int argc;
  const char * const *argv;
};

#endif

////////////////////////////////////////////////////////////////

#include "system.h"
#include "sum8.h"
#include "tb.h"

struct System {
  Sum8<31>  dut;
  Tb        tb;
};

System() {
  // argc,argv are unused
  dut(tb.d0, tb.d1, tb.d2, tb.d3, tb.d4, tb.d5, tb.d6, tb.d7);
  tb(dut);
}
